#ifndef TOUCH_H
#define TOUCH_H

#define TS_POINT_MAX_NUM	10

typedef struct _touchPositionTyp
{
    int top;     // 在屏幕上的位置，单位为像素
    int left;
}touchPositionTyp;

struct ak_ts_info{
	int x;
	int y;
};

struct ak_ts_event{
	int map;
	struct ak_ts_info info[TS_POINT_MAX_NUM];
};

/**
 * @brief 
 * 
 * @return int 
 */
int touchScreenInit(void);

/**
 * @brief 
 * 
 * @return int 
 */
int touchScreenDeinit(void);

/**
 * @brief 
 * 
 */
int touchScreenGetEvent(struct ak_ts_event *ts, long ms);
#endif